/**
 * This class represents a user
 */

/**
 * @author Maximilian Csuk
 * @author Bernhard Denner
 * @author Konrad Paumann
 *
 * $Revision: 67 $
 * $Date: 2007-10-20 08:43:51 +0200 (Sat, 20 Oct 2007) $
 */
import java.util.*;

public class User {
	private String name;
	private String password;
	
	private boolean read;
	private boolean write;
	
	public User(String name, String password, boolean read, boolean write) {
		this.name = name;
		this.password = password;
		this.read = read;
		this.write = write;
	}
	
	public boolean canRead() {
		return read;
	}
	
	public boolean canWrite() {
		return write;
	}
}
